#include "StdAfx.h"
#include "MoveEntity.h"

#include "ControlLogic.h"
#include "Controller.h"

MoveEntity::MoveEntity(void)
{
}


MoveEntity::~MoveEntity(void)
{
}

void MoveEntity::makeController(ControlLogic* logic)
{
	controller = logic->makeController();
}

Controller* MoveEntity::control(const ControlContext& context)
{
	if(controller)
		controller->apply(this, context);
	return controller;
}

// render
// animate